package ru.maxmatveev.beanmapper;

/**
 * @author Max Matveev
 *         Date: Jan 25, 2009
 *         Time: 12:00:38 PM
 */
public class SimplePropertySource {
    /** Field enumProperty  */
    private EnumProperty enumProperty;

    /** Field intToInt  */
    private int intToInt;
    /** Field intToLong  */
    private int intToLong;
    /** Field floatToLong  */
    private Float floatToLong;
    /** Field stringProperty  */
    private String stringProperty;
    /** Field bool  */
    private boolean bool;

    /**
     * Method getEnumProperty returns the enumProperty of this SimplePropertySource object.
     *
     * @return the enumProperty (type EnumProperty) of this SimplePropertySource object.
     */
    public EnumProperty getEnumProperty() {
        return enumProperty;
    }

    /**
     * Method setEnumProperty sets the enumProperty of this SimplePropertySource object.
     *
     * @param enumProperty the enumProperty of this SimplePropertySource object.
     *
     */
    public void setEnumProperty(final EnumProperty enumProperty) {
        this.enumProperty = enumProperty;
    }

    /**
     * Method getFloatToLong returns the floatToLong of this SimplePropertySource object.
     *
     * @return the floatToLong (type Float) of this SimplePropertySource object.
     */
    public Float getFloatToLong() {
        return floatToLong;
    }

    /**
     * Method setFloatToLong sets the floatToLong of this SimplePropertySource object.
     *
     * @param floatToLong the floatToLong of this SimplePropertySource object.
     *
     */
    public void setFloatToLong(final Float floatToLong) {
        this.floatToLong = floatToLong;
    }

    /**
     * Method getIntToInt returns the intToInt of this SimplePropertySource object.
     *
     * @return the intToInt (type int) of this SimplePropertySource object.
     */
    public int getIntToInt() {
        return intToInt;
    }

    /**
     * Method setIntToInt sets the intToInt of this SimplePropertySource object.
     *
     * @param intToInt the intToInt of this SimplePropertySource object.
     *
     */
    public void setIntToInt(final int intToInt) {
        this.intToInt = intToInt;
    }

    /**
     * Method getIntToLong returns the intToLong of this SimplePropertySource object.
     *
     * @return the intToLong (type int) of this SimplePropertySource object.
     */
    public int getIntToLong() {
        return intToLong;
    }

    /**
     * Method setIntToLong sets the intToLong of this SimplePropertySource object.
     *
     * @param intToLong the intToLong of this SimplePropertySource object.
     *
     */
    public void setIntToLong(final int intToLong) {
        this.intToLong = intToLong;
    }

    /**
     * Method getStringProperty returns the stringProperty of this SimplePropertySource object.
     *
     * @return the stringProperty (type String) of this SimplePropertySource object.
     */
    public String getStringProperty() {
        return stringProperty;
    }

    /**
     * Method setStringProperty sets the stringProperty of this SimplePropertySource object.
     *
     * @param stringProperty the stringProperty of this SimplePropertySource object.
     *
     */
    public void setStringProperty(final String stringProperty) {
        this.stringProperty = stringProperty;
    }

    /**
     * Method isBool returns the bool of this SimplePropertySource object.
     *
     * @return the bool (type boolean) of this SimplePropertySource object.
     */
    public boolean isBool() {
        return bool;
    }

    /**
     * Method setBool sets the bool of this SimplePropertySource object.
     *
     * @param bool the bool of this SimplePropertySource object.
     *
     */
    public void setBool(final boolean bool) {
        this.bool = bool;
    }

    @Override
    public String toString() {
        return "SimplePropertySource{" +
                "enumProperty=" + enumProperty +
                ", intToInt=" + intToInt +
                ", intToLong=" + intToLong +
                ", floatToLong=" + floatToLong +
                ", stringProperty='" + stringProperty + '\'' +
                ", bool=" + bool +
                '}';
    }

    /**
     * Inner enum.
     */
    public enum EnumProperty {
        /** Field A  */A, /** Field B  */B, /** Field C  */C
    }
}
